-- GENERATED SPELL FOR [Theradrim Shardling] --


function spell0_11783(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(13584,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11783', 641, 1)
end

function Sorts_11783(pUnit, Event)
local choix_sorts_11783 = math.random(0, 0)
if choix_sorts_11783 == 0 then
pUnit:RegisterEvent('spell0_11783', 1, 1)
end
end

function mob11783_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11783', math.random(1500, 3000), 1)
end

function mob11783_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11783_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11783_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11783, 1, 'mob11783_Action')
RegisterUnitEvent(11783, 2, 'mob11783_Leave')
RegisterUnitEvent(11783, 3, 'mob11783_Kill')
RegisterUnitEvent(11783, 4, 'mob11783_Die')
